<template>
  <div class="block">
    <el-timeline>
      <el-timeline-item v-for="(item,index) of timeline" :key="index" :timestamp="item.timestamp" placement="top">
        <el-card>
          <h4>{{ item.title }}</h4>
          <p>{{ item.content }}</p>
        </el-card>
      </el-timeline-item>
    </el-timeline>
  </div>
</template>

<script>
export default {
  data() {
    return {
      timeline: [
        {
          timestamp: '2021/12/20',
          title: '通过',
          content: '通过 审核论文 同意修改 2021/12/13 20:46'
        },
        {
          timestamp: '2021/12/17',
          title: '具体情况',
          content: '审核论文具体情况 2021/12/13 20:46'
        },
        {
          timestamp: '2021/12/13',
          title: '开始审核',
          content: '管理员 开始审核 2021/12/13 20:46'
        },
        {
          timestamp: '2021/12/11',
          title: '学者论文提交',
          content: 'hyj 提交于 2021/12/11 20:46'
        }
      ]
    }
  }
}
</script>
